package view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JTabbedPane;
import javax.swing.JLabel;
import javax.swing.ImageIcon;

public class GUI extends JFrame {

	private JPanel contentPane;
	private LieferantenPanel lieferantenPanel;
	private JTabbedPane tabbedPane;
	private WarengruppenPanel warengruppenPanel;
	private ArtikelPanel artikelPanel;
	private JPanel panel;
	private JLabel lblNewLabel;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUI frame = new GUI();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GUI() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 461, 363);
		this.contentPane = new JPanel();
		this.contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(this.contentPane);
		this.contentPane.setLayout(null);
		
		this.tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		this.tabbedPane.setBounds(10, 11, 414, 303);
		this.contentPane.add(this.tabbedPane);
		
		this.lieferantenPanel = new LieferantenPanel();
		this.tabbedPane.addTab("Lieferanten", null, this.lieferantenPanel, null);
		
		this.lblNewLabel = new JLabel("");
		this.lblNewLabel.setIcon(new ImageIcon("S:\\werder.png"));
		this.lblNewLabel.setBounds(292, 41, 117, 83);
		this.lieferantenPanel.add(this.lblNewLabel);
		
		this.warengruppenPanel = new WarengruppenPanel();
		this.tabbedPane.addTab("Warengruppen", null, this.warengruppenPanel, null);
		
		this.artikelPanel = new ArtikelPanel();
		this.tabbedPane.addTab("Artikel", null, this.artikelPanel, null);
		
	
		
	}
}
